//
//  AppDelegate.m
//  PanPush
//
//  Created by lpc on 16/3/16.
//  Copyright © 2016年 lpc. All rights reserved.
//

#import "AppDelegate.h"
#import "PanNavigationController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];

    FirstViewController *rootNavController = [[FirstViewController alloc] initWithNibName:NSStringFromClass([FirstViewController class]) bundle:nil];
    PanNavigationController *nav = [[PanNavigationController alloc] initWithRootViewController:rootNavController];
    self.window.rootViewController = nav;

    [self.window makeKeyAndVisible];

    return YES;
}

@end
